const Mock = require("mockjs")

const data = Mock.mock({
    "list|10":[
        {
            "id|+1":1,
            "title":"@cword(5)",
            "img":"@image(100x100,@color)"
        }
    ]
})

Mock.mock("/list",data.list)